<?php
/**
 * Created by PhpStorm.
 * User: tangyunfei
 * Date: 2018/4/18
 * Time: 9:18
 */
class GgAction extends  Action{

    function index(){
        $id = I('get.id');
        $info = M('Gg')->where(array('id'=>$id))->find();
        $this->assign("info",$info);
        $this->display();
    }
}